<!doctype html>
<html>
@include('top.title')
<body>
<style>
    .text > p > img {
        width: 10%;
        height: 10%;
    }
    header{
        margin-top: -10px;
    }
</style>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
@include('top.header')
@if(!empty(session('success')))
    <div id="tishi" style="background-color: #caeaca;position:absolute; margin: 829px 2px 4px 1602px;width:300px;height: 38px;padding:10px;border-radius: 50px;">
        <span style="text-align: center;display:block;"> 提示信息：{{session('success')}}</span>
    </div>
@endif
<div>
    <img src="/images/b3_1.jpg" alt="" style="width: 100%;height: 100%">
    <div style="margin:-720px 0px 0px 1354px;padding:5px;width: 328px;height:255px;position:absolute;background-color: rgb(203, 226, 245,0.5);border-radius: 10px">
        <div style="margin:14px 4px 10px 18px;">
            <span style="color: #03a9f4">登录</span>
            <a href="/login/zuce" style="margin-left: 100px;"><span>还没有帐号去-></span> 注册</a>
        </div>
        <form action="/login" method="post">
            {{ csrf_field() }}
            <div class="input-group">
                <input type="text" name="name" required maxlength="11" class="form-control" placeholder="请输入用户名"
                       aria-describedby="sizing-addon2" style="margin-bottom: 20px;border-radius: 7px;width: 318px" value="{{old("name")}}">
            </div>
            <div class="input-group">
                <input type="password" name="password" required maxlength="11" class="form-control" placeholder="请输入密码"
                       aria-describedby="sizing-addon2" style="margin-bottom: 20px;border-radius: 7px;width:318px" value="{{old("password")}}">
            </div>
            <div class="input-group">
                <input type="text" name="captcha" required maxlength="11" class="form-control" placeholder="请输入验证码"
                       aria-describedby="sizing-addon2" style="margin-bottom: 20px;border-radius: 7px;width: 180px;margin-right: 3px;" value="{{old("captcha")}}">
                <img style="width: 133px;border-radius: 5px;margin-top: 3px;" src="{{url('captcha')}}" onclick="this.src='{{ url('captcha') }}?r='+Math.random();" alt="">
            </div>
            <!-- Single button -->
            <button type="submit" class="btn btn-success" style="width: 100%;margin-bottom: -15px">登录</button>
        </form>
    </div>
</div>
</body>
</html>